<?php Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/admin.css'); ?>

<?php $this->beginContent('//layouts/main'); ?>

	<div class="admin container">

		<div id="content">
			<?php $this->widget('zii.widgets.CMenu', array(
				'items'=>array(
					array('label'=>Yii::t('admin','Contests'),'url'=>array('contest/admin'),'active'=>Yii::app()->controller->id==='contest'),
					array('label'=>Yii::t('admin','Prizes'),'url'=>array('prize/admin'),'active'=>Yii::app()->controller->id==='prize'),
					array('label'=>Yii::t('admin','Entries'),'url'=>array('entry/admin'),'active'=>Yii::app()->controller->id==='entry'),
					array('label'=>Yii::t('admin','Comments'),'url'=>array('comment/admin'),'active'=>Yii::app()->controller->id==='comment'),
					array('label'=>Yii::t('admin','Users'),'url'=>array('user/admin'),'active'=>Yii::app()->controller->id==='user'),
				),
				'htmlOptions'=>array('class'=>'tabs'),
			)); ?>

			<?php $this->widget('zii.widgets.CMenu', array(
				'items'=>$this->menu,
				'htmlOptions'=>array('class'=>'pills'),
			)); ?>

			<?php echo $content; ?>
		</div>
		
	</div>

<?php $this->endContent(); ?>